<template>
  <div class="root">
    <Child title="aaaa" @handleClick="handleClick"></Child>
  </div>
</template>

<script>
import Child from "./Child.vue";
export default {
  components: {
    Child,
  },
  setup() {
    const handleClick = (param) => {
      console.log(param);
    };

    return {
      handleClick,
    };
  },
};
</script>

<style scoped>
</style>

<style>
* {
  margin: 0;
  padding: 0;
}
</style>
